/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.webos.java.base.fs;

import java.io.IOException;
import java.io.OutputStream;
import org.hsqldb.lib.FileAccess.FileSync;
import org.webos.java.root.Log;

/**
 *
 * @author Kostya
 */
public class DBFileSync implements FileSync{

    private OutputStream stream = null;

    public DBFileSync(OutputStream aStream) {
        stream = aStream;
    }


    public void sync() throws IOException {
//        Log.debug(this, "DBFileSync.sync");
        stream.flush();
    }

}
